package com.ruoyi.report.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 报告基础表格对象 report_tablebase
 * 
 * @author wry
 * @date 2023-06-20
 */
public class ReportTablebase extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表格主键 */
    private Long tableId;

    /** 表格名称 */
    @Excel(name = "表格名称")
    private String tableName;

    /** 表格sql */
    @Excel(name = "表格sql")
    private String tableSql;

    public void setTableId(Long tableId) 
    {
        this.tableId = tableId;
    }

    public Long getTableId() 
    {
        return tableId;
    }
    public void setTableName(String tableName) 
    {
        this.tableName = tableName;
    }

    public String getTableName() 
    {
        return tableName;
    }
    public void setTableSql(String tableSql) 
    {
        this.tableSql = tableSql;
    }

    public String getTableSql() 
    {
        return tableSql;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tableId", getTableId())
            .append("tableName", getTableName())
            .append("tableSql", getTableSql())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
